From: Chong Yidong Date: Sun, 6 Feb 2011 15:04:31 +0000 (-0500) Subject: Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925). X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~4899 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1715c2ec74bcdbdca954a02137a2d8be87884362;p=emacs.git Remove the check for non-ASCII in report-emacs-bug-hook (Bug#7925). * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for non-ASCII characters. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8a883abd564..cbfacb0c7a9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2011-02-06 Chong Yidong + + * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for + non-ASCII characters (Bug#7925). + 2011-02-05 Glenn Morris * emacs-lisp/cl-macs.el (return-from): Fix doc typo. diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index a621647bcf1..9aac041e8bd 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -340,18 +340,6 @@ usually do not have translators to read other languages for them.\n\n") (string-equal (buffer-substring-no-properties (point-min) (point)) report-emacs-bug-orig-text) (error "No text entered in bug report")) - ;; Check the buffer contents and reject non-English letters. - ;; FIXME message-mode probably does this anyway. - (goto-char (point-min)) - (skip-chars-forward "\0-\177") - (unless (eobp) - (if (or report-emacs-bug-no-confirmation - (y-or-n-p "Convert non-ASCII letters to hexadecimal? ")) - (while (progn (skip-chars-forward "\0-\177") - (not (eobp))) - (let ((ch (following-char))) - (delete-char 1) - (insert (format "=%02x" ch)))))) ;; The last warning for novice users. (unless (or report-emacs-bug-no-confirmation